package com.ccyl.service.impl;

import com.ccyl.entity.Admin_user;
import com.ccyl.repository.AdminRepository;
import com.ccyl.repository.impl.AdminRepositoryImpl;
import com.ccyl.service.LoginService;

public class LoginServiceImpl implements LoginService {

    private AdminRepository adminRepository=new AdminRepositoryImpl();
    @Override
    public Admin_user login(String user, String password) {
        return adminRepository.login(user,password);
    }
}
